﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@

<!-- 网页的主体内容-->
<!--   -->
<div class="container d-flex justify-content-center" style="background-color:rgba(197, 197, 197, 0.2); min-height: 730px; margin-top:150px">
    <form action="#" method="post" class="border p-3" style="background-color: #655f5ed6;">
        <div class="mb-4 pt-3">
            <label class="form-label">编号：</label>
            <input class="form-control" type="text" id="code" name="code" required placeholder="编号" style="width: 500px;">
        </div>
        <div class="mb-4">
            <label class="form-label">菜系：</label>
            @*<input class="form-control" type="text" id="cai_xi" name="cai_xi" required placeholder="菜系">*@
            <select class="form-select" name="cai_xi" id="cai_xi">
                <option selected>请选择...</option>
                <option value="鲁菜">鲁菜</option>
                <option value="川菜">川菜</option>
                <option value="粤菜">粤菜</option>
                <option value="闽菜">闽菜</option>
                <option value="徽菜">徽菜</option>
                <option value="东北菜">东北菜</option>
            </select>
        </div>

        <div class="mb-4">
            <label class="form-label">菜名：</label>
            <input class="form-control" type="text" id="cai_name" name="cai_name" required placeholder="菜名">
        </div>

        <div class="mb-4">
            <label class="form-label">凉/热:</label>
            <input type="radio" id="male" name="cai_wen" value="热菜" checked>
            <label for="male">热菜</label>
            <input type="radio" id="female" name="cai_wen" value="凉菜">
            <label for="female">凉菜</label>
        </div>
        
        <div class="mb-3">
            <label class="form-label">添加日期：</label>
            <input class="form-control" type="date" id="add_date" name="add_date" required placeholder="添加日期">
        </div>
        
        <div class="mb-4">
            <label class="form-label">添加人：</label>
            <input class="form-control" type="text" id="zuo_zhe" name="zuo_zhe" required placeholder="添加人">
        </div>

        <div class="mb-4">
            <label class="form-label">备注：</label>
            <textarea id="myTextarea" name="bei_zhu" class="form-control" rows="5" required placeholder="备注">

            </textarea>
        </div>

        <div class="container text-center">
            <button type="submit" class="btn btn-primary">录入</button>
        </div>
        <label class="col-form-label">
            @ViewBag.Message
        </label>
    </form>
</div>